import { WidgetDefinitionOptions } from '@/core/model/WidgetDefinition'
import SimpleText from './SimpleText.vue'

const widgetDefinitionOptions: WidgetDefinitionOptions = {
  tag: 'SimpleText',
  displayName: '简单文本',
  component: SimpleText,
  isBuildin: true,
  autoSize: true,
  propsGroups: [{
    type: 'group',
    name: '文本 · 样式',
    propsSchemas: [{
      type: 'string',
      name: '默认内容',
      prop: 'text',
      value: '默认文本',
    }]
  }]
}

export default widgetDefinitionOptions
